set scroll of card field 3 to 0 --in pixels up to 170
set rect of card field 1 to 245,256,335,294
set loc of card field 1 to 289,272
set showLines of card field 1 to false
set wideMargins of card field 1 to false
put empty into card field "Date"
end mouseUp
-- part contents for background part 2
----- text -----
Field properties
-- part contents for background part 43
----- text -----
335,253
-- part contents for background part 44
----- text -----
script
name
id
number
style
scroll
rect
loc
showLines
wideMargins
-- part contents for background part 1
----- text -----
set script of card field "Date" to script of button "Date"
set name of card field 3 to "Example"
the id of card field 1--can't set
the number of card field id 6 --can't set
set style of card field 1 to shadow
set scroll of card field 3 to 15 --in pixels from the top
set rect of card field 1 to the rect of field 2
set loc of card field 1 to 200,200--*
set showLines of card field 1 to true
set wideMargins of card field 1 to true
-- part contents for card part 2
----- text -----
This is an example of a scrolling field. Use the scroll property to set the number of pixels you want to scroll down from the top.
-- part contents for card part 4
----- text -----
Loc includes two numbers that represent the center of the object. The first—"H"—is the distance from the left edge of the screen. The second—"V"—is the distance from the top.